package com.six.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.six.pojo.Customer;
import com.six.pojo.dto.CustomerCapitalDto;
import com.six.pojo.dto.CustomerInfoDto;
import org.apache.ibatis.annotations.Param;

/**
 * @author luolu
 * @create 2022/3/7 14:38
 */

public interface CustomerMapper extends BaseMapper<Customer> {
    public Page<CustomerInfoDto> findCustomerInfoPage(Page page,@Param("id") Long id);

    public Page<CustomerCapitalDto> findCustomerCapitalPage(Page page, @Param("id") Long id);
}
